package ch.hearc.infrarouge.tools;

import ch.hearc.infrarouge.preferences.Preferences;

public class DebugTools {

	public static void debugln(Object o) {
		if (Preferences.isDebugEnabled) {
			System.out.println(o);
		}
	}

	public static void debug(Object o) {
		if (Preferences.isDebugEnabled) {
			System.out.print(o);
		}
	}

}
